package proxy.rmi;import java.rmi.Naming;/** * Created by Administrator on 2018-11-5. */public class MyRemoteClient {    public static void main(String[] args) {        new MyRemoteClient().go();    }    private void go() {        try {            MyRemote service = (MyRemote) Naming.lookup("rmi://127.0.0.1/RemoteHello");            String  s = service.sayHello();        }catch (Exception e){            e.printStackTrace();        }    }}